﻿<Window x:Class="AirlinePilotAcademy_WPF.UI_Administrator.Subject.SearchSubjectToTeacher"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Buscar Materia Docente" Height="294" Width="418.208" WindowStartupLocation="CenterScreen" WindowStyle="ToolWindow">
    <Window.Background>
        <ImageBrush ImageSource="/AirlinePilotAcademy_WPF;component/Images/Background.png" />
    </Window.Background>
    <Grid>
        <Label Content="Filtro:" Foreground="White" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="TextBox_Filter" HorizontalAlignment="Left" Height="23" Margin="50,13,0,0" TextWrapping="Wrap" Text="" MaxLength="20" VerticalAlignment="Top" Width="350" TextChanged="FilterTextChanged"/>

        <RadioButton x:Name="RadioButton_TeacherCI" Content="CI docente" IsChecked="True" Foreground="White" HorizontalAlignment="Left" Margin="17,46,0,0" VerticalAlignment="Top" Checked="SearchBy"/>
        <RadioButton x:Name="RadioButton_SubjectName" Content="Nombre Materia" Foreground="White" HorizontalAlignment="Left" Margin="17,66,0,0" VerticalAlignment="Top" Checked="SearchBy"/>
        <RadioButton x:Name="RadioButton_TeacherCode" Content="Codigo Docente" Foreground="White" HorizontalAlignment="Left" Margin="152,46,0,0" VerticalAlignment="Top" Checked="SearchBy"/>
        <RadioButton x:Name="RadioButton_SubjectCode" Content="Codigo Materia" Foreground="White" HorizontalAlignment="Left" Margin="152,66,0,0" VerticalAlignment="Top" Checked="SearchBy"/>

        <DataGrid x:Name="DataGrid_Result" HorizontalAlignment="Left" IsReadOnly="True" SelectionMode="Single" Margin="17,96,0,0" VerticalAlignment="Top" Height="129" Width="383" GotFocus="SelectedItem"/>

        <Button x:Name="Button_Watch" Content="Ver Materia Docente" IsEnabled="False" HorizontalAlignment="Left" Margin="17,231,0,0" VerticalAlignment="Top" Width="184" Click="Button_Watch_Click"/>
        <Button x:Name="Button_Modify" Content="Modificar Materia Docente" IsEnabled="False" HorizontalAlignment="Left" Margin="216,230,0,0" VerticalAlignment="Top" Width="184" RenderTransformOrigin="-1.744,-0.35" Click="Button_Modify_Click"/>
    </Grid>
</Window>
